package com.xzzz.irda.guardcat.server.app.pojo;

import com.xzzz.common.base.enums.BackendServiceEnum;
import lombok.Data;

/**
 * @author xzzz
 */
@Data
public class AppInfo {

    private String appName;

    public AppInfo() {
    }

    public AppInfo(String appName) {
        this.appName = appName;
    }

    public int getSort() {
        return BackendServiceEnum.getByName(this.appName).getSort();
    }

}
